﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterFrm.Master" AutoEventWireup="true"
    CodeBehind="AdminResumeModify_EN.aspx.cs" Inherits="TravelLink.WebApp.Admin.AdminResumeModify_EN" %>

<%@ Register Assembly="DevExpress.Web.ASPxGridView.v11.1, Version=11.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxGridView" TagPrefix="dx" %>
<%@ Register Assembly="DevExpress.Web.ASPxEditors.v11.1, Version=11.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxEditors" TagPrefix="dx" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <link type="text/css" rel="stylesheet" href="/style/validator.css"></link>
    <link type="text/css" rel="stylesheet" href="/Styles/css.css"></link>
    <script src="/Scripts/formValidator-4.0.1.js" type="text/javascript" charset="UTF-8"></script>
    <script src="/Scripts/formValidatorRegex.js" type="text/javascript" charset="UTF-8"></script>
    <script type="text/javascript" src="/uploadify/jquery.uploadify.min.js"></script>
    <link rel="stylesheet" type="text/css" href="/uploadify/uploadify.css">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div class="left">
        <div class="column_left1_1">
            <table width="100%" border="0" cellspacing="0" class="f13" style="border-top: #CCCCCC solid 1px;">
                <tr>
                    <td height="50" colspan="4">
                        &nbsp;
                    </td>
                </tr>
                <tr>
                    <td width="70" height="38" valign="top" class="f12">
                        *Name
                    </td>
                    <td width="277" valign="top" class="f12">
                        <label for="textfield2">
                        </label>
                        <asp:TextBox ID="txtName" runat="server" Style="width: 160px; height: 20px;" CssClass="zixian"
                            ClientIDMode="Static"></asp:TextBox>
                        <span id="txtNameTip"></span>
                    </td>
                    <td width="124" valign="top" class="f12">
                        *Pinyin | English name
                    </td>
                    <td width="213" valign="top" class="f12">
                        <asp:TextBox ID="txtEnName" runat="server" Style="width: 160px; height: 20px;" CssClass="zixian"
                            ClientIDMode="Static"></asp:TextBox>
                        <span id="txtEnNameTip"></span>
                    </td>
                </tr>
                <tr>
                    <td height="38" valign="top" class="f12">
                        *Gender
                    </td>
                    <td valign="top" class="f12">
                        <asp:RadioButton GroupName="chkGender" ID="chkGender_1" Style="width: 15px; height: 15px;
                            margin: 0xp;" runat="server" Text="Male" ClientIDMode="Static" />
                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                        <asp:RadioButton GroupName="chkGender" ID="chkGender_0" Style="width: 15px; height: 15px;
                            margin: 0xp;" runat="server" Text="Female" ClientIDMode="Static" />
                        <span id="chkGenderTip"></span>
                    </td>
                    <td valign="top" class="f12">
                        *Country
                    </td>
                    <td valign="top" class="f12">
                        <asp:DropDownList ID="dropCountry" runat="server" Style="width: 160px; height: 20px;"
                            ClientIDMode="Static" CssClass="zixian">
                        </asp:DropDownList>
                        <span id="dropCountryTip"></span>
                    </td>
                </tr>
                <tr>
                    <td height="38" valign="top" class="f12">
                        *Birthday
                    </td>
                    <td valign="top" class="f12">
                        <dx:ASPxTextBox ID="txtBirthDay" runat="server" Width="160px" CssFilePath="~/App_Themes/BlackGlass/{0}/styles.css"
                            CssPostfix="BlackGlass" SpriteCssFilePath="~/App_Themes/BlackGlass/{0}/sprite.css">
                            <ValidationSettings ErrorDisplayMode="ImageWithTooltip" SetFocusOnError="true" Display="Dynamic">
                                <RequiredField ErrorText="Please Input Birthday.eg.2010-10-02" IsRequired="true" />
                                <RegularExpression ErrorText="Please Input Birthday.eg.2010-10-02" ValidationExpression="^([0-9]{3}[1-9]|[0-9]{2}[1-9][0-9]{1}|[0-9]{1}[1-9][0-9]{2}|[1-9][0-9]{3})-(((0?[13578]|1[02])-(0?[1-9]|[12][0-9]|3[01]))|((0?[469]|11)-(0?[1-9]|[12][0-9]|30))|(0?2-(0?[1-9]|[1][0-9]|2[0-8])))$" />
                            </ValidationSettings>
                        </dx:ASPxTextBox>
                        <%-- <asp:TextBox ID="txtBirthDay" class="w18em dateformat-Y-sl-m-sl-d" runat="server"
                        Style="width: 160px; height: 20px;" CssClass="zixian" ClientIDMode="Static"></asp:TextBox>--%>
                        <span id="txtBirthDayTip"></span>
                    </td>
                    <td valign="top" class="f12">
                        *Marriage Status
                    </td>
                    <td valign="top" class="f12">
                        <asp:RadioButton GroupName="chkMarry" ID="chkMarry_0" Style="width: 15px; height: 15px;
                            margin: 0xp;" runat="server" Text="Married" ClientIDMode="Static" />
                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                        <asp:RadioButton GroupName="chkMarry" ID="chkMarry_1" Style="width: 15px; height: 15px;
                            margin: 0xp;" runat="server" Text="Single" ClientIDMode="Static" />
                        <span id="chkMarryTip"></span>
                    </td>
                </tr>
                <tr>
                    <td height="38" valign="top" class="f12">
                        *Tel
                    </td>
                    <td valign="top" class="f12">
                        <asp:TextBox ID="txtTel" runat="server" Style="width: 160px; height: 20px;" CssClass="zixian"
                            ClientIDMode="Static"></asp:TextBox>
                        <span id="txtTelTip"></span>
                    </td>
                    <td valign="top" class="f12">
                        *Mobile
                    </td>
                    <td valign="top" class="f12">
                        <asp:TextBox ID="txtMobile" runat="server" Style="width: 160px; height: 20px;" CssClass="zixian"
                            ClientIDMode="Static"></asp:TextBox>
                        <span id="txtMobileTip"></span>
                    </td>
                </tr>
                <tr>
                    <td height="38" valign="top" class="f12">
                        *Address
                    </td>
                    <td colspan="3" valign="top" class="f12">
                        <asp:TextBox ID="txtAddress" runat="server" Style="width: 565px; height: 20px;" CssClass="zixian"
                            ClientIDMode="Static"></asp:TextBox>
                        <span id="txtAddressTip"></span>
                    </td>
                </tr>
                <tr>
                    <td height="38" valign="top" class="f12">
                        *PostCode
                    </td>
                    <td valign="top" class="f12">
                        <asp:TextBox ID="txtZipcode" runat="server" Style="width: 160px; height: 20px;" CssClass="zixian"
                            ClientIDMode="Static"></asp:TextBox>
                        <span id="txtZipcodeTip"></span>
                    </td>
                    <td height="38" valign="top" class="f12">
                        *Email
                    </td>
                    <td valign="top" class="f12">
                        <asp:TextBox ID="txtEmail" runat="server" Style="width: 160px; height: 20px;" CssClass="zixian"
                            ClientIDMode="Static"></asp:TextBox>
                        <span id="txtEmailTip"></span>
                    </td>
                </tr>
                <tr>
                    <td height="38" valign="top" class="f12">
                        Personal Photo
                    </td>
                    <td valign="middle" colspan="3" class="f12">
                        <style type="text/css">

.photo200{display:<%=HasPhoto?"table-cell":"none" %>;   width:200px;line-height:195px;text-align:center;vertical-align:middle;>display:block;>font-size:110px;>font-family:Arial;overflow:hidden}
.photo200 a img{vertical-align:middle;border:0}

</style>
                        <div class="photo200" style="margin-bottom: 15px; float: left;">
                            <img id="imgPreview" src="<%=UserPhoto %>" style="vertical-align: middle; border: 0px;" />
                            <input type="hidden" id="imgFileValues" value="<%=UserPhoto %>" name="imgFileValues" />
                        </div>
                        <div style="margin-left: 3px; float: left; margin-left: 80px;">
                            <input type="file" name="uploadify" id="uploadify" />
                        </div>
                        <script type="text/javascript">
                            $(function () {
                                $("#uploadify").uploadify({
                                    'swf': '/uploadify/uploadify.swf',
                                    'uploader': '/UploadHandler.aspx',
                                    'auto': true,
                                    'buttonText': 'Upload Photo',
                                    'queueSizeLimit': 1,
                                    'multi': false,
                                    'fileDesc': 'jpg,gif,jpeg,png,bmp',
                                    'fileExt': '*.jpg;*.gif;*.jpeg;*.bmp;*.png;',
                                    'sizeLimit': '819200',
                                    'onUploadSuccess': function (file, data, response) {
                                        data = eval("(" + data + ")")
                                        if (data.id == 0) {
                                            jQuery(".photo200").fadeIn().css("display", "table-cell");
                                            jQuery("#imgFileValues").val(data.mess);
                                            jQuery("#imgPreview").attr("src", data.mess);
                                        }
                                        else {
                                            alert(data.mess);
                                        }
                                    }

                                });
                            });    
                        </script>
                    </td>
                </tr>
                <tr>
                    <td height="19" valign="top" class="f12">
                        Self Assessment
                    </td>
                    <td height="150" colspan="3" valign="top" class="f12">
                        <asp:TextBox ID="txtRemark" runat="server" TextMode="MultiLine" Rows="5" Columns="45"
                            Style="width: 98%; height: 80px;" CssClass="zixian" ClientIDMode="Static"></asp:TextBox>
                    </td>
                </tr>
            </table>
        </div>
        <script type="text/javascript">

            function SaveEdit(btnSave, btnEdit, txt, spans) {
                jQuery("#" + btnSave).hide();
                jQuery("#" + btnEdit).show();
                jQuery("#" + txt).hide();
                jQuery('#' + spans).html(jQuery('#' + txt).val().replace(/\n/g, "<br>"));
                jQuery('#' + spans).show();
            }

            function EditForm(btnSave, btnEdit, txt, spans) {
                jQuery('#' + btnSave).show();
                jQuery('#' + btnEdit).hide();
                jQuery('#' + spans).hide();
                jQuery('#' + txt).val(jQuery('#' + spans).html().replace(/<br>/g, "\n"));
                jQuery('#' + txt).show();
            }


            function InitializeForm(btnSave, btnEdit, txt, spans) {
                jQuery("#" + btnSave).click(function (e) { SaveEdit(btnSave, btnEdit, txt, spans) });
                jQuery("#" + btnEdit).click(function (e) { EditForm(btnSave, btnEdit, txt, spans) });
            }

            jQuery(function () {

                InitializeForm("btnLanguageSave", "btnLanguageEdit", "txtLanguageDesc", "txtLanguageDescDisplay");
                InitializeForm("btnObjectiveSave", "btnObjectiveEdit", "txtObjective", "txtObjectiveDisplay");
                InitializeForm("btnInterestsSave", "btnInterestsEdit", "txtInterests", "txtInterestsDisplay");
                InitializeForm("btnCitySave", "btnCityEdit", "txtCity", "txtCityDisplay");

            })

        </script>
        <div class="column_left1_1">
            <div class="tiao" id="l1">
                Language Abilities</div>
            <div id="l1_c" class="zixiancontent">
                <div class="editItem">
                    <div class="edittool edittoolright2">
                        <a href="javascript:void(0)" id="btnLanguageSave" style="display: none;" style="margin-top: 15px;">
                            Save</a> <a id="btnLanguageEdit" href="javascript:void(0)" width="79" style="margin-top: 15px;">
                                Edit</a>
                    </div>
                    <div class="editcontent">
                        <asp:TextBox ID="txtLanguageDesc" runat="server" TextMode="MultiLine" Rows="5" Columns="45"
                            Style="width: 624px; display: none; height: 105px; margin: 0px;" CssClass="zixian"
                            ClientIDMode="Static"></asp:TextBox>
                        <span id="txtLanguageDescDisplay" clientidmode="Static" runat="server"></span>
                    </div>
                </div>
            </div>
            <div class="tiao" id="l2">
                Career Objective
            </div>
            <div id="l2_c" class="zixiancontent">
                <div class="editItem">
                    <div class="edittool edittoolright2">
                        <a href="javascript:void(0)" id="btnObjectiveSave" style="display: none;" style="margin-top: 15px;">
                            Save</a> <a id="btnObjectiveEdit" href="javascript:void(0)" width="79" style="margin-top: 15px;">
                                Edit</a>
                    </div>
                    <div class="editcontent">
                        <asp:TextBox ID="txtObjective" runat="server" TextMode="MultiLine" Rows="5" Columns="45"
                            Style="width: 624px; display: none; height: 105px; margin: 0px;" CssClass="zixian"
                            ClientIDMode="Static"></asp:TextBox>
                        <span id="txtObjectiveDisplay" clientidmode="Static" runat="server"></span>
                    </div>
                </div>
            </div>
            <div class="tiao" id="l3">
                Skills</div>
            <div id="l3_c" class="zixiancontent">
                <div class="editItem editgrid">
                    <div class="edittool edittoolRight">
                        <a href="javascript:void(0)" onclick="aspGridSkills.AddNewRow()">New</a>
                    </div>
                    <dx:ASPxGridView ID="aspGridSkills" ClientInstanceName="aspGridSkills" KeyFieldName="Idx"
                        Width="100%" runat="server" AutoGenerateColumns="False" Settings-ShowColumnHeaders="false"
                        Font-Size="10pt" Font-Names="'微软雅黑','Times new Roma'" OnRowDeleted="aspGridSkills_RowDeleted"
                        OnRowDeleting="aspGridSkills_RowDeleting" OnRowInserted="aspGridSkills_RowInserted"
                        OnRowInserting="aspGridSkills_RowInserting" OnRowUpdated="aspGridSkills_RowUpdated"
                        OnRowUpdating="aspGridSkills_RowUpdating" CssFilePath="~/App_Themes/Office2010Silver/{0}/styles.css"
                        CssPostfix="Office2010Silver">
                        <Columns>
                            <dx:GridViewCommandColumn Width="150px" VisibleIndex="10">
                                <EditButton Visible="True">
                                </EditButton>
                                <DeleteButton Visible="True">
                                </DeleteButton>
                            </dx:GridViewCommandColumn>
                            <dx:GridViewDataTextColumn Caption="Skill" FieldName="Skill" VisibleIndex="2">
                                <PropertiesTextEdit MaxLength="20" Width="400px" Style-Font-Names="'微软雅黑','Times New Roma',Arial, Helvetica, sans-serif">
                                </PropertiesTextEdit>
                            </dx:GridViewDataTextColumn>
                        </Columns>
                        <SettingsText CommandNew="新增技能" CommandEdit="Edit" CommandUpdate="Save" CommandCancel="Cancel"
                            CommandDelete="Delete" EmptyDataRow="Empty Skills" />
                        <SettingsPager PageSize="20">
                        </SettingsPager>
                        <Images SpriteCssFilePath="~/App_Themes/Office2010Silver/{0}/sprite.css">
                            <LoadingPanelOnStatusBar Url="~/App_Themes/Office2010Silver/GridView/Loading.gif">
                            </LoadingPanelOnStatusBar>
                            <LoadingPanel Url="~/App_Themes/Office2010Silver/GridView/Loading.gif">
                            </LoadingPanel>
                        </Images>
                        <SettingsLoadingPanel Text="Data Loading...." />
                        <ImagesFilterControl>
                            <LoadingPanel Url="~/App_Themes/Office2010Silver/GridView/Loading.gif">
                            </LoadingPanel>
                        </ImagesFilterControl>
                        <SettingsBehavior AllowDragDrop="false" AllowGroup="false" AllowSort="false" AllowSelectByRowClick="false"
                            ConfirmDelete="true" />
                        <Styles CssFilePath="~/App_Themes/Office2010Silver/{0}/styles.css" CssPostfix="Office2010Silver">
                            <Header ImageSpacing="5px" SortingImageSpacing="5px">
                            </Header>
                            <LoadingPanel ImageSpacing="5px">
                            </LoadingPanel>
                        </Styles>
                        <StylesEditors ButtonEditCellSpacing="0">
                            <ProgressBar Height="21px">
                            </ProgressBar>
                        </StylesEditors>
                    </dx:ASPxGridView>
                </div>
            </div>
            <div class="tiao" id="l4">
                Education Background</div>
            <div id="l4_c" class="zixiancontent">
                <div class="editItem editgrid">
                    <div class="edittool edittoolRight">
                        <a href="javascript:void(0)" onclick="aspGridEducation.AddNewRow()">New</a>
                    </div>
                    <dx:ASPxGridView ID="aspGridEducation" ClientInstanceName="aspGridEducation" KeyFieldName="Idx"
                        Width="100%" runat="server" AutoGenerateColumns="False" Settings-ShowColumnHeaders="false"
                        Font-Size="10pt" Font-Names="'微软雅黑','Times new Roma'" OnRowDeleted="aspGridSkills_RowDeleted"
                        OnRowDeleting="aspGridSkills_RowDeleting" OnRowInserted="aspGridSkills_RowInserted"
                        OnRowInserting="aspGridSkills_RowInserting" OnRowUpdated="aspGridSkills_RowUpdated"
                        OnRowUpdating="aspGridSkills_RowUpdating" CssFilePath="~/App_Themes/Office2010Silver/{0}/styles.css"
                        CssPostfix="Office2010Silver">
                        <Columns>
                            <dx:GridViewCommandColumn Width="150px" VisibleIndex="10">
                                <EditButton Visible="True">
                                </EditButton>
                                <DeleteButton Visible="True">
                                </DeleteButton>
                            </dx:GridViewCommandColumn>
                            <dx:GridViewDataComboBoxColumn Caption="Degree" FieldName="EducationTypeId" VisibleIndex="2">
                                <PropertiesComboBox Style-Font-Names="'微软雅黑','Times New Roma',Arial, Helvetica, sans-serif"
                                    DataSourceID="EducationDataSource" TextField="EName" ValueField="Idx">
                                </PropertiesComboBox>
                            </dx:GridViewDataComboBoxColumn>
                            <dx:GridViewDataTextColumn Caption="School" FieldName="School" VisibleIndex="3">
                                <PropertiesTextEdit Style-Font-Names="'微软雅黑','Times New Roma',Arial, Helvetica, sans-serif"
                                    MaxLength="100">
                                </PropertiesTextEdit>
                            </dx:GridViewDataTextColumn>
                            <dx:GridViewDataTextColumn Caption="From" FieldName="FromYear" Width="50" VisibleIndex="4">
                                <PropertiesTextEdit Style-Font-Names="'微软雅黑','Times New Roma',Arial, Helvetica, sans-serif"
                                    MaxLength="4">
                                </PropertiesTextEdit>
                            </dx:GridViewDataTextColumn>
                            <dx:GridViewDataTextColumn Caption="To" FieldName="ToYear" Width="50" VisibleIndex="5">
                                <PropertiesTextEdit Style-Font-Names="'微软雅黑','Times New Roma',Arial, Helvetica, sans-serif"
                                    MaxLength="4">
                                </PropertiesTextEdit>
                            </dx:GridViewDataTextColumn>
                            <dx:GridViewDataTextColumn Caption="Course" FieldName="Course" Width="150" VisibleIndex="5">
                                <PropertiesTextEdit MaxLength="50" Style-Font-Names="'微软雅黑','Times New Roma',Arial, Helvetica, sans-serif">
                                </PropertiesTextEdit>
                            </dx:GridViewDataTextColumn>
                        </Columns>
                        <SettingsText CommandNew="新增技能" CommandEdit="Edit" CommandUpdate="Save" CommandCancel="Cancel"
                            CommandDelete="Delete" EmptyDataRow="Empty Education Background" />
                        <SettingsPager PageSize="20">
                        </SettingsPager>
                        <Images SpriteCssFilePath="~/App_Themes/Office2010Silver/{0}/sprite.css">
                            <LoadingPanelOnStatusBar Url="~/App_Themes/Office2010Silver/GridView/Loading.gif">
                            </LoadingPanelOnStatusBar>
                            <LoadingPanel Url="~/App_Themes/Office2010Silver/GridView/Loading.gif">
                            </LoadingPanel>
                        </Images>
                        <SettingsLoadingPanel Text="Data Loading...." />
                        <ImagesFilterControl>
                            <LoadingPanel Url="~/App_Themes/Office2010Silver/GridView/Loading.gif">
                            </LoadingPanel>
                        </ImagesFilterControl>
                        <SettingsBehavior AllowDragDrop="false" AllowGroup="false" AllowSort="false" AllowSelectByRowClick="false"
                            ConfirmDelete="true" />
                        <Styles CssFilePath="~/App_Themes/Office2010Silver/{0}/styles.css" CssPostfix="Office2010Silver">
                            <Header ImageSpacing="5px" SortingImageSpacing="5px">
                            </Header>
                            <LoadingPanel ImageSpacing="5px">
                            </LoadingPanel>
                        </Styles>
                        <StylesEditors ButtonEditCellSpacing="0">
                            <ProgressBar Height="21px">
                            </ProgressBar>
                        </StylesEditors>
                    </dx:ASPxGridView>
                </div>
            </div>
            <div class="tiao" id="l5">
                Training Course</div>
            <div id="l5_c" class="zixiancontent">
                <div class="editItem editgrid">
                    <div class="edittool edittoolRight">
                        <a href="javascript:void(0)" onclick="aspxGridQualification.AddNewRow()">New</a>
                    </div>
                    <dx:ASPxGridView ID="aspxGridQualification" ClientInstanceName="aspxGridQualification"
                        KeyFieldName="Idx" Width="100%" runat="server" AutoGenerateColumns="False" Settings-ShowColumnHeaders="false"
                        Font-Size="10pt" Font-Names="'微软雅黑','Times new Roma'" OnRowDeleted="aspGridSkills_RowDeleted"
                        OnRowDeleting="aspGridSkills_RowDeleting" OnRowInserted="aspGridSkills_RowInserted"
                        OnRowInserting="aspGridSkills_RowInserting" OnRowUpdated="aspGridSkills_RowUpdated"
                        OnRowUpdating="aspGridSkills_RowUpdating" CssFilePath="~/App_Themes/Office2010Silver/{0}/styles.css"
                        CssPostfix="Office2010Silver">
                        <Columns>
                            <dx:GridViewCommandColumn Width="150px" VisibleIndex="10">
                                <EditButton Visible="True">
                                </EditButton>
                                <DeleteButton Visible="True">
                                </DeleteButton>
                            </dx:GridViewCommandColumn>
                            <dx:GridViewDataMemoColumn Caption=" Training Course" FieldName="Desciption" VisibleIndex="2">
                                <PropertiesMemoEdit Rows="5" Style-Font-Size="10pt" Height="100px" Width="400px"
                                    Style-Font-Names="'微软雅黑','Times New Roma',Arial, Helvetica, sans-serif">
                                </PropertiesMemoEdit>
                                <EditFormSettings ColumnSpan="4" />
                            </dx:GridViewDataMemoColumn>
                            <dx:GridViewDataTextColumn Caption="Training Date" FieldName="RowTime" VisibleIndex="1">
                                <PropertiesTextEdit Style-Font-Size="10pt" Style-Font-Names="'微软雅黑','Times New Roma',Arial, Helvetica, sans-serif">
                                    <ValidationSettings ErrorDisplayMode="ImageWithText" Display="Dynamic">
                                        <RequiredField ErrorText="Please input training date.eg.2010-10" IsRequired="true" />
                                        <RegularExpression ErrorText="Please input valid training date.eg.2010-10" ValidationExpression="^([0-9]{3}[1-9]|[0-9]{2}[1-9][0-9]{1}|[0-9]{1}[1-9][0-9]{2}|[1-9][0-9]{3})-((0?[13578]|1[02])|(0?[469]|11)|0?2)$" />
                                    </ValidationSettings>
                                </PropertiesTextEdit>
                                <DataItemTemplate>
                                    <%#(((DateTime?)Eval("RowTime"))).HasValue?(((DateTime?)Eval("RowTime"))).Value.ToString("yyyy-MM"):"1990-01"%>
                                </DataItemTemplate>
                                <EditFormSettings Caption="*Training Date" />
                            </dx:GridViewDataTextColumn>
                        </Columns>
                        <SettingsText CommandNew="新增资质" CommandEdit="Edit" CommandUpdate="Save" CommandCancel="Cancel"
                            CommandDelete="Delete" EmptyDataRow="Empty Training Course" />
                        <SettingsPager PageSize="20">
                        </SettingsPager>
                        <Images SpriteCssFilePath="~/App_Themes/Office2010Silver/{0}/sprite.css">
                            <LoadingPanelOnStatusBar Url="~/App_Themes/Office2010Silver/GridView/Loading.gif">
                            </LoadingPanelOnStatusBar>
                            <LoadingPanel Url="~/App_Themes/Office2010Silver/GridView/Loading.gif">
                            </LoadingPanel>
                        </Images>
                        <SettingsLoadingPanel Text="Data Loading...." />
                        <ImagesFilterControl>
                            <LoadingPanel Url="~/App_Themes/Office2010Silver/GridView/Loading.gif">
                            </LoadingPanel>
                        </ImagesFilterControl>
                        <SettingsBehavior AllowDragDrop="false" AllowGroup="false" AllowSort="false" AllowSelectByRowClick="false"
                            ConfirmDelete="true" />
                        <Styles CssFilePath="~/App_Themes/Office2010Silver/{0}/styles.css" CssPostfix="Office2010Silver">
                            <Header ImageSpacing="5px" SortingImageSpacing="5px">
                            </Header>
                            <LoadingPanel ImageSpacing="5px">
                            </LoadingPanel>
                        </Styles>
                        <StylesEditors ButtonEditCellSpacing="0">
                            <ProgressBar Height="21px">
                            </ProgressBar>
                        </StylesEditors>
                    </dx:ASPxGridView>
                </div>
            </div>
            <div class="tiao" id="l6">
                Qualifications
            </div>
            <div id="l6_c" class="zixiancontent">
                <div class="editItem editgrid">
                    <div class="edittool edittoolRight">
                        <a href="javascript:void(0)" onclick="aspxGridMembership.AddNewRow()">New</a>
                    </div>
                    <dx:ASPxGridView ID="aspxGridMembership" ClientInstanceName="aspxGridMembership"
                        KeyFieldName="Idx" Width="100%" runat="server" AutoGenerateColumns="False" Settings-ShowColumnHeaders="false"
                        Font-Size="10pt" Font-Names="'微软雅黑','Times new Roma'" OnRowDeleted="aspGridSkills_RowDeleted"
                        OnRowDeleting="aspGridSkills_RowDeleting" OnRowInserted="aspGridSkills_RowInserted"
                        OnRowInserting="aspGridSkills_RowInserting" OnRowUpdated="aspGridSkills_RowUpdated"
                        OnRowUpdating="aspGridSkills_RowUpdating" CssFilePath="~/App_Themes/Office2010Silver/{0}/styles.css"
                        CssPostfix="Office2010Silver">
                        <Columns>
                            <dx:GridViewCommandColumn Width="150px" VisibleIndex="10">
                                <EditButton Visible="True">
                                </EditButton>
                                <DeleteButton Visible="True">
                                </DeleteButton>
                            </dx:GridViewCommandColumn>
                            <dx:GridViewDataTextColumn Caption=" Qualification" FieldName="Name" VisibleIndex="2">
                                <PropertiesTextEdit MaxLength="20" Width="400px" Style-Font-Names="'微软雅黑','Times New Roma',Arial, Helvetica, sans-serif">
                                </PropertiesTextEdit>
                            </dx:GridViewDataTextColumn>
                        </Columns>
                        <SettingsText CommandNew="新增资质" CommandEdit="Edit" CommandUpdate="Save" CommandCancel="Cancel"
                            CommandDelete="Delete" EmptyDataRow="Empty Qualifications" />
                        <SettingsPager PageSize="20">
                        </SettingsPager>
                        <Images SpriteCssFilePath="~/App_Themes/Office2010Silver/{0}/sprite.css">
                            <LoadingPanelOnStatusBar Url="~/App_Themes/Office2010Silver/GridView/Loading.gif">
                            </LoadingPanelOnStatusBar>
                            <LoadingPanel Url="~/App_Themes/Office2010Silver/GridView/Loading.gif">
                            </LoadingPanel>
                        </Images>
                        <SettingsLoadingPanel Text="Data Loading...." />
                        <ImagesFilterControl>
                            <LoadingPanel Url="~/App_Themes/Office2010Silver/GridView/Loading.gif">
                            </LoadingPanel>
                        </ImagesFilterControl>
                        <SettingsBehavior AllowDragDrop="false" AllowGroup="false" AllowSort="false" AllowSelectByRowClick="false"
                            ConfirmDelete="true" />
                        <Styles CssFilePath="~/App_Themes/Office2010Silver/{0}/styles.css" CssPostfix="Office2010Silver">
                            <Header ImageSpacing="5px" SortingImageSpacing="5px">
                            </Header>
                            <LoadingPanel ImageSpacing="5px">
                            </LoadingPanel>
                        </Styles>
                        <StylesEditors ButtonEditCellSpacing="0">
                            <ProgressBar Height="21px">
                            </ProgressBar>
                        </StylesEditors>
                    </dx:ASPxGridView>
                </div>
            </div>
            <div class="tiao" id="l7">
                Achievement</div>
            <div id="l7_c" class="zixiancontent">
                <div class="editItem editgrid">
                    <div class="edittool edittoolRight">
                        <a href="javascript:void(0)" onclick="aspxGridAward.AddNewRow()">New</a>
                    </div>
                    <dx:ASPxGridView ID="aspxGridAward" ClientInstanceName="aspxGridAward" KeyFieldName="Idx"
                        Width="100%" runat="server" AutoGenerateColumns="False" Settings-ShowColumnHeaders="false"
                        Font-Size="10pt" Font-Names="'微软雅黑','Times new Roma'" OnRowDeleted="aspGridSkills_RowDeleted"
                        OnRowDeleting="aspGridSkills_RowDeleting" OnRowInserted="aspGridSkills_RowInserted"
                        OnRowInserting="aspGridSkills_RowInserting" OnRowUpdated="aspGridSkills_RowUpdated"
                        OnRowUpdating="aspGridSkills_RowUpdating" CssFilePath="~/App_Themes/Office2010Silver/{0}/styles.css"
                        CssPostfix="Office2010Silver">
                        <Columns>
                            <dx:GridViewCommandColumn Width="150px" VisibleIndex="10">
                                <EditButton Visible="True">
                                </EditButton>
                                <DeleteButton Visible="True">
                                </DeleteButton>
                            </dx:GridViewCommandColumn>
                            <dx:GridViewDataMemoColumn Caption="Achievement" FieldName="Description" VisibleIndex="2">
                                <PropertiesMemoEdit Rows="5" Style-Font-Size="10pt" Height="100px" Width="400px"
                                    Style-Font-Names="'微软雅黑','Times New Roma',Arial, Helvetica, sans-serif">
                                </PropertiesMemoEdit>
                                <EditFormSettings ColumnSpan="4" />
                            </dx:GridViewDataMemoColumn>
                            <dx:GridViewDataTextColumn Caption="Achievement Date" FieldName="RowTime" VisibleIndex="1">
                                <PropertiesTextEdit Style-Font-Size="10pt" Style-Font-Names="'微软雅黑','Times New Roma',Arial, Helvetica, sans-serif">
                                    <ValidationSettings ErrorDisplayMode="ImageWithTooltip" Display="Dynamic">
                                        <RequiredField ErrorText="Please input achievement date.eg.2010-10" IsRequired="true" />
                                        <RegularExpression ErrorText="Please input valid achievement date.eg.2010-10" ValidationExpression="^([0-9]{3}[1-9]|[0-9]{2}[1-9][0-9]{1}|[0-9]{1}[1-9][0-9]{2}|[1-9][0-9]{3})-((0?[13578]|1[02])|(0?[469]|11)|0?2)$" />
                                    </ValidationSettings>
                                </PropertiesTextEdit>
                                <EditFormSettings Caption="*Achievement Date" />
                                <DataItemTemplate>
                                    <%#(((DateTime?)Eval("RowTime"))).HasValue?(((DateTime?)Eval("RowTime"))).Value.ToString("yyyy-MM"):"1990-01"%>
                                </DataItemTemplate>
                            </dx:GridViewDataTextColumn>
                        </Columns>
                        <SettingsText CommandNew="新增资质" CommandEdit="Edit" CommandUpdate="Save" CommandCancel="Cancel"
                            CommandDelete="Delete" EmptyDataRow="Empty Achievement" />
                        <SettingsPager PageSize="20">
                        </SettingsPager>
                        <Images SpriteCssFilePath="~/App_Themes/Office2010Silver/{0}/sprite.css">
                            <LoadingPanelOnStatusBar Url="~/App_Themes/Office2010Silver/GridView/Loading.gif">
                            </LoadingPanelOnStatusBar>
                            <LoadingPanel Url="~/App_Themes/Office2010Silver/GridView/Loading.gif">
                            </LoadingPanel>
                        </Images>
                        <SettingsLoadingPanel Text="Data Loading...." />
                        <ImagesFilterControl>
                            <LoadingPanel Url="~/App_Themes/Office2010Silver/GridView/Loading.gif">
                            </LoadingPanel>
                        </ImagesFilterControl>
                        <SettingsBehavior AllowDragDrop="false" AllowGroup="false" AllowSort="false" AllowSelectByRowClick="false"
                            ConfirmDelete="true" />
                        <Styles CssFilePath="~/App_Themes/Office2010Silver/{0}/styles.css" CssPostfix="Office2010Silver">
                            <Header ImageSpacing="5px" SortingImageSpacing="5px">
                            </Header>
                            <LoadingPanel ImageSpacing="5px">
                            </LoadingPanel>
                        </Styles>
                        <StylesEditors ButtonEditCellSpacing="0">
                            <ProgressBar Height="21px">
                            </ProgressBar>
                        </StylesEditors>
                    </dx:ASPxGridView>
                </div>
            </div>
            <div class="tiao" id="l8">
                Interests</div>
            <div id="l8_c" class="zixiancontent">
                <div class="editItem">
                    <div class="edittool edittoolright2">
                        <a href="javascript:void(0)" id="btnInterestsSave" style="display: none;" style="margin-top: 15px;">
                            Save</a> <a id="btnInterestsEdit" href="javascript:void(0)" width="79" style="margin-top: 15px;">
                                Edit</a>
                    </div>
                    <div class="editcontent">
                        <asp:TextBox ID="txtInterests" runat="server" TextMode="MultiLine" Rows="5" Columns="45"
                            Style="width: 624px; display: none; height: 105px; margin: 0px;" CssClass="zixian"
                            ClientIDMode="Static"></asp:TextBox>
                        <span id="txtInterestsDisplay" clientidmode="Static" runat="server"></span>
                    </div>
                </div>
            </div>
            <div class="tiao" id="l9">
                Worker Experience</div>
            <div id="l9_c" class="zixiancontent">
                <div class="editItem editgrid">
                    <div class="edittool edittoolRight">
                        <a href="javascript:void(0)" onclick="aspxGridCareer.AddNewRow()">New</a>
                    </div>
                    <dx:ASPxGridView ID="aspxGridCareer" ClientInstanceName="aspxGridCareer" KeyFieldName="Idx"
                        Width="100%" runat="server" AutoGenerateColumns="False" Settings-ShowColumnHeaders="false"
                        Font-Size="10pt" Font-Names="'微软雅黑','Times new Roma'" OnRowDeleted="aspGridSkills_RowDeleted"
                        OnRowDeleting="aspGridSkills_RowDeleting" OnRowInserted="aspGridSkills_RowInserted"
                        OnRowInserting="aspGridSkills_RowInserting" OnRowUpdated="aspGridSkills_RowUpdated"
                        OnRowUpdating="aspGridSkills_RowUpdating" CssFilePath="~/App_Themes/Office2010Silver/{0}/styles.css"
                        CssPostfix="Office2010Silver">
                        <Columns>
                            <dx:GridViewCommandColumn Width="150px" VisibleIndex="10">
                                <EditButton Visible="True">
                                </EditButton>
                                <DeleteButton Visible="True">
                                </DeleteButton>
                            </dx:GridViewCommandColumn>
                            <dx:GridViewDataTextColumn Caption="From Date" FieldName="FromYear" VisibleIndex="1">
                                <PropertiesTextEdit Style-Font-Size="10pt" Style-Font-Names="'微软雅黑','Times New Roma',Arial, Helvetica, sans-serif">
                                    <ValidationSettings ErrorDisplayMode="ImageWithText" Display="Dynamic">
                                        <RequiredField ErrorText="Please input from date" IsRequired="true" />
                                        <RegularExpression ErrorText="Please input valid achievement date.eg.2010-10" ValidationExpression="^([0-9]{3}[1-9]|[0-9]{2}[1-9][0-9]{1}|[0-9]{1}[1-9][0-9]{2}|[1-9][0-9]{3})-((0?[13578]|1[02])|(0?[469]|11)|0?2)$" />
                                    </ValidationSettings>
                                </PropertiesTextEdit>
                                <EditFormSettings Caption="*From Date" />
                            </dx:GridViewDataTextColumn>
                            <%-- <dx:GridViewDataDateColumn Caption="起始时间" FieldName="FromYear" VisibleIndex="1">
                            <PropertiesDateEdit EditFormatString="yyyy年MM月" ShowShadow="false" AllowUserInput="true"
                                DisplayFormatInEditMode="true" DisplayFormatString="Y" Style-Font-Size="10pt"
                                Style-Font-Names="'微软雅黑','Times New Roma',Arial, Helvetica, sans-serif">
                                <CalendarProperties ClearButtonText="重置" TodayButtonText="今天">
                                </CalendarProperties>
                                <ValidationSettings Display="Dynamic" ErrorDisplayMode="ImageWithTooltip">
                                    <RequiredField IsRequired="true" ErrorText="请选择起始时间" />
                                </ValidationSettings>
                            </PropertiesDateEdit>
                            <EditFormSettings Caption="*起始时间" />
                        </dx:GridViewDataDateColumn>--%>
                            <dx:GridViewDataTextColumn Caption="Leaving Date" FieldName="ToYear" VisibleIndex="1">
                                <PropertiesTextEdit MaxLength="7" NullText="Yet" Style-Font-Size="10pt" Style-Font-Names="'微软雅黑','Times New Roma',Arial, Helvetica, sans-serif">
                                </PropertiesTextEdit>
                                <DataItemTemplate>
                                    <%#(Eval("ToYear") == null || Eval("ToYear").ToString() == "1900-01") ? "Yet" : Eval("ToYear").ToString()%>
                                </DataItemTemplate>
                                <EditFormSettings Caption="Leaving Date" />
                            </dx:GridViewDataTextColumn>
                            <dx:GridViewDataTextColumn Caption="Company Name" FieldName="CompanyName" VisibleIndex="3">
                                <PropertiesTextEdit Style-Font-Names="'微软雅黑','Times New Roma',Arial, Helvetica, sans-serif"
                                    MaxLength="100">
                                    <ValidationSettings Display="Dynamic" ErrorDisplayMode="ImageWithTooltip">
                                        <RequiredField IsRequired="true" ErrorText="Please Input Company Name" />
                                    </ValidationSettings>
                                </PropertiesTextEdit>
                                <EditFormSettings Caption="*Company Name" />
                            </dx:GridViewDataTextColumn>
                            <dx:GridViewDataTextColumn Caption="Position" FieldName="Position" VisibleIndex="4">
                                <PropertiesTextEdit Style-Font-Names="'微软雅黑','Times New Roma',Arial, Helvetica, sans-serif"
                                    MaxLength="100">
                                    <ValidationSettings Display="Dynamic" ErrorDisplayMode="ImageWithTooltip">
                                        <RequiredField IsRequired="true" ErrorText="Please Input Position" />
                                    </ValidationSettings>
                                </PropertiesTextEdit>
                                <EditFormSettings Caption="*Position" />
                            </dx:GridViewDataTextColumn>
                            <dx:GridViewDataTextColumn Caption="Report Target" EditFormSettings-Visible="True"
                                Visible="false" FieldName="ReportTo" VisibleIndex="4">
                                <PropertiesTextEdit Style-Font-Names="'微软雅黑','Times New Roma',Arial, Helvetica, sans-serif"
                                    MaxLength="100">
                                </PropertiesTextEdit>
                            </dx:GridViewDataTextColumn>
                            <dx:GridViewDataTextColumn Caption="Company Site" EditFormSettings-Visible="True"
                                Visible="false" FieldName="CompanySite" VisibleIndex="4">
                                <PropertiesTextEdit Style-Font-Names="'微软雅黑','Times New Roma',Arial, Helvetica, sans-serif"
                                    MaxLength="100">
                                </PropertiesTextEdit>
                            </dx:GridViewDataTextColumn>
                            <dx:GridViewDataTextColumn Caption="Company Address" EditFormSettings-Visible="True"
                                Visible="false" FieldName="CompanyAddress" VisibleIndex="4">
                                <PropertiesTextEdit Width="500px" Style-Font-Names="'微软雅黑','Times New Roma',Arial, Helvetica, sans-serif"
                                    MaxLength="300">
                                </PropertiesTextEdit>
                                <EditFormSettings ColumnSpan="4" />
                            </dx:GridViewDataTextColumn>
                            <dx:GridViewDataMemoColumn Caption="Achievement" EditFormSettings-Visible="True"
                                Visible="false" FieldName="Achievement" VisibleIndex="6">
                                <PropertiesMemoEdit Rows="5" Style-Font-Size="10pt" Height="100px" Width="500px"
                                    Style-Font-Names="'微软雅黑','Times New Roma',Arial, Helvetica, sans-serif">
                                </PropertiesMemoEdit>
                                <EditFormSettings ColumnSpan="4" />
                            </dx:GridViewDataMemoColumn>
                            <dx:GridViewDataMemoColumn Caption="Worker Description" EditFormSettings-Visible="True"
                                Visible="false" FieldName="JobDesc" VisibleIndex="6">
                                <PropertiesMemoEdit Rows="5" Style-Font-Size="10pt" Height="100px" Width="500px"
                                    Style-Font-Names="'微软雅黑','Times New Roma',Arial, Helvetica, sans-serif">
                                    <ValidationSettings Display="Dynamic" ErrorDisplayMode="ImageWithTooltip">
                                        <RequiredField IsRequired="true" ErrorText="Please Input Worker Description" />
                                    </ValidationSettings>
                                </PropertiesMemoEdit>
                                <EditFormSettings ColumnSpan="4" Caption="*Worker Description" />
                            </dx:GridViewDataMemoColumn>
                            <dx:GridViewDataMemoColumn Caption="Reason Of Leave" EditFormSettings-Visible="True"
                                Visible="false" FieldName="LeaveReason" VisibleIndex="6">
                                <PropertiesMemoEdit Rows="5" Style-Font-Size="10pt" Height="100px" Width="500px"
                                    Style-Font-Names="'微软雅黑','Times New Roma',Arial, Helvetica, sans-serif">
                                </PropertiesMemoEdit>
                                <EditFormSettings ColumnSpan="4" />
                            </dx:GridViewDataMemoColumn>
                            <dx:GridViewDataTextColumn Caption="Reference Name" EditFormSettings-Visible="True"
                                Visible="false" FieldName="ContactName" VisibleIndex="7">
                                <PropertiesTextEdit Style-Font-Names="'微软雅黑','Times New Roma',Arial, Helvetica, sans-serif"
                                    MaxLength="100">
                                </PropertiesTextEdit>
                            </dx:GridViewDataTextColumn>
                            <dx:GridViewDataTextColumn Caption="Reference Mobile" EditFormSettings-Visible="True"
                                Visible="false" FieldName="ContactMobile" VisibleIndex="7">
                                <PropertiesTextEdit Style-Font-Names="'微软雅黑','Times New Roma',Arial, Helvetica, sans-serif"
                                    MaxLength="100">
                                </PropertiesTextEdit>
                            </dx:GridViewDataTextColumn>
                            <dx:GridViewDataTextColumn Caption="Reference Email" EditFormSettings-Visible="True"
                                Visible="false" FieldName="ContacttMail" VisibleIndex="7">
                                <PropertiesTextEdit Style-Font-Names="'微软雅黑','Times New Roma',Arial, Helvetica, sans-serif"
                                    MaxLength="100">
                                </PropertiesTextEdit>
                            </dx:GridViewDataTextColumn>
                        </Columns>
                        <SettingsText CommandNew="新增技能" CommandEdit="Edit" CommandUpdate="Save" CommandCancel="Cancel"
                            CommandDelete="Delete" EmptyDataRow="Empty  Worker Experience" />
                        <SettingsPager PageSize="20">
                        </SettingsPager>
                        <Images SpriteCssFilePath="~/App_Themes/Office2010Silver/{0}/sprite.css">
                            <LoadingPanelOnStatusBar Url="~/App_Themes/Office2010Silver/GridView/Loading.gif">
                            </LoadingPanelOnStatusBar>
                            <LoadingPanel Url="~/App_Themes/Office2010Silver/GridView/Loading.gif">
                            </LoadingPanel>
                        </Images>
                        <SettingsLoadingPanel Text="Data Loading...." />
                        <ImagesFilterControl>
                            <LoadingPanel Url="~/App_Themes/Office2010Silver/GridView/Loading.gif">
                            </LoadingPanel>
                        </ImagesFilterControl>
                        <SettingsBehavior AllowDragDrop="false" AllowGroup="false" AllowSort="false" AllowSelectByRowClick="false"
                            ConfirmDelete="true" />
                        <Styles CssFilePath="~/App_Themes/Office2010Silver/{0}/styles.css" CssPostfix="Office2010Silver">
                            <Header ImageSpacing="5px" SortingImageSpacing="5px">
                            </Header>
                            <LoadingPanel ImageSpacing="5px">
                            </LoadingPanel>
                        </Styles>
                        <StylesEditors ButtonEditCellSpacing="0">
                            <ProgressBar Height="21px">
                            </ProgressBar>
                        </StylesEditors>
                    </dx:ASPxGridView>
                </div>
            </div>
            <div class="tiao" id="l10">
                Expectation work in city</div>
            <div id="l10_c" class="zixiancontent">
                <div class="editItem">
                    <div class="edittool edittoolright2">
                        <a href="javascript:void(0)" id="btnCitySave" style="display: none;" style="margin-top: 15px;">
                            Save</a> <a id="btnCityEdit" href="javascript:void(0)" width="79" style="margin-top: 15px;">
                                Edit</a>
                    </div>
                    <div class="editcontent">
                        <asp:TextBox ID="txtCity" runat="server" TextMode="MultiLine" Rows="5" Columns="45"
                            Style="width: 624px; display: none; height: 105px; margin: 0px;" CssClass="zixian"
                            ClientIDMode="Static"></asp:TextBox>
                        <span id="txtCityDisplay" clientidmode="Static" runat="server"></span>
                    </div>
                </div>
            </div>
            <div class="left" style="margin-top: 20px;">
                <asp:ImageButton ID="btnSubmit" ClientIDMode="Static" runat="server" Style="margin-left: 290px;
                    margin-bottom: 80px;" ImageUrl="~/img/tijiao11copy.jpg" OnClick="btnSubmit_Click" />
            </div>
        </div>
    </div>
    <input type="hidden" id="dayCompare" value="1900/01/01" />
    <script type="text/javascript">

        jQuery(function () {


            $.formValidator.initConfig({ submitButtonID: "btnSubmit", autoTip: true, debug: false, onSuccess: function () { return ASPxClientEdit.ValidateGroup(); }, onError: function () { } });

            jQuery("#txtName").formValidator({ onShow: "", onFocus: " ", onCorrect: "" }).inputValidator({ min: 1, empty: { leftEmpty: true, rightEmpty: true, emptyError: " " }, onError: " " });
            jQuery("#txtEnName").formValidator({ onShow: "", onFocus: " ", onCorrect: "" }).inputValidator({ min: 1, empty: { leftEmpty: true, rightEmpty: true, emptyError: " " }, onError: " " });
            jQuery("#dropCountry").formValidator({ onShow: "", onFocus: " ", onCorrect: "" }).inputValidator({ min: 1, empty: { leftEmpty: false, rightEmpty: false, emptyError: " " }, onError: " " });


            jQuery("#chkMarry").formValidator({ onShow: "", onFocus: " ", onCorrect: "" }).inputValidator({ min: 1, empty: { leftEmpty: false, rightEmpty: false, emptyError: " " }, onError: " " });
            jQuery("#chkGender").formValidator({ onShow: "", onFocus: " ", onCorrect: "" }).inputValidator({ min: 1, empty: { leftEmpty: false, rightEmpty: false, emptyError: " " }, onError: " " });
            jQuery("#txtTel").formValidator({ onShow: "", onFocus: " ", onCorrect: "" }).inputValidator({ min: 1, empty: { leftEmpty: false, rightEmpty: false, emptyError: " " }, onError: " " });
            jQuery("#txtMobile").formValidator({ onShow: "", onFocus: " ", onCorrect: "" }).inputValidator({ min: 1, empty: { leftEmpty: false, rightEmpty: false, emptyError: " " }, onError: " " });
            jQuery("#txtAddress").formValidator({ onShow: "", onFocus: " ", onCorrect: "" }).inputValidator({ min: 1, empty: { leftEmpty: false, rightEmpty: false, emptyError: " " }, onError: " " });
            jQuery("#txtZipcode").formValidator({ onShow: "", onFocus: " ", onCorrect: "" }).inputValidator({ min: 1, empty: { leftEmpty: false, rightEmpty: false, emptyError: " " }, onError: " " });
            jQuery("#txtEmail").formValidator({ onShow: "", onFocus: " ", onCorrect: "" }).inputValidator({ min: 1, empty: { leftEmpty: false, rightEmpty: false, emptyError: " " }, onError: " " });

            jQuery(":radio[name='chkMarry']").formValidator({ tipID: "chkMarryTip", onShow: "", onFocus: "", onCorrect: "" }).inputValidator({ min: 1, max: 1, onError: " " });
            jQuery(":radio[name='chkGender']").formValidator({ tipID: "chkGenderTip", onShow: "", onFocus: "", onCorrect: "2" }).inputValidator({ min: 1, max: 1, onError: " " });


            jQuery(".tiao").each(function (index, value) {

                jQuery(value).click(function () {

                    if (jQuery(this).hasClass("tiao1")) {
                        jQuery(this).removeClass("tiao1");
                        jQuery(this).addClass("tiao");
                        jQuery("#" + this.id + "_c").hide();
                    }
                    else {
                        jQuery(this).removeClass("tiao");
                        jQuery(this).addClass("tiao1");
                        jQuery("#" + this.id + "_c").show();
                    }
                });

            })

        })
    
    </script>
    <asp:LinqDataSource ID="EducationDataSource" runat="server" ContextTypeName="TravelLink.DAL.TravelLinkDBDataContext"
        EntityTypeName="" Select="new (Idx, Name)" TableName="TL_Education">
    </asp:LinqDataSource>
</asp:Content>
